<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<input type="button" value="点击事件1" onmousemove="over()" onclick="f1()" />
		<input type="button" value="点击事件2" />
		<input type="button" value="点击事件3" />
		
		<script type="text/javascript">
			window.onload = function() {
				var input = document.getElementsByTagName('input')[1];
				input.onclick = function() {
					console.log('onclick11');
				}
				input.onclick = function() {
					console.log('onclick22');
				}
				input.onmouseover = function() {
					console.log('onmouseover');
				}
				input.onmouseout = function() {
					console.log('onmouseout');
				}
			}
			
			
			function f1() {
				console.log("f1()")
			} 
			
			function over() {
				
			}
		</script>
	</body>
</html>
